UCF STIG Viewer Logo

The vCenter STS service "ErrorReportValve showServerInfo" must be set to "false".


Overview

Finding ID Version Rule ID IA Controls Severity
V-258982 VCST-80-000067 SV-258982r934604_rule Medium
Description
The Error Report Valve is a simple error handler for HTTP status codes that will generate and return HTML error pages. It can also be configured to return predefined static HTML pages for specific status codes and/or exception types. Disabling "showServerInfo" will only return the HTTP status code and remove all CSS from the default nonerror-related HTTP responses.
STIG Date
VMware vSphere 8.0 vCenter Appliance Secure Token Service (STS) Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62722r934602_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-sso/vmware-sts/conf/server.xml

Example result:



If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
Fix Text (F-62631r934603_fix)
Navigate to and open:

/usr/lib/vmware-sso/vmware-sts/conf/server.xml

Locate the following Host block:


...


Inside this block, add or update the following on a new line:



Restart the service with the following command:

# vmon-cli --restart sts